package com.jsoft.entity;

import java.io.Serializable;
import java.util.Date;
import java.util.Objects;

/**
 * @author:sha
 * @email:o68o4741@163.com
 * @date:2023/2/19
 */
public class Transfer implements Serializable {
    private static final long serialVersionUID = 3327141230448166004L;
    private Integer id;
    private String no;
    private Integer transferEnterpriseId;
    private Integer receiveEnterpriseId;
    private Integer openEnterpriseId;
    private Double amount;
    private Integer instituyId;
    private Date openTime;
    private Date transferTime;
    private Date expiryTime;
    private String uplinkAddress;
    /**
     * 处理状态statue得处理
     */
    private String statue;
    /**
     * 进度状态progressStatus得处理
     */
    private String progressStatus;
    private Integer voucherId;
    /**
     * 付息方式paymentInterestType得处理
     */
    private String paymentInterestType;
    private String remark;

    public Transfer() {
    }

    public Transfer(String no, Integer transferEnterpriseId, Integer receiveEnterpriseId, Integer openEnterpriseId, Double amount, Integer instituyId, Date openTime, Date transferTime, Date expiryTime, String uplinkAddress, String statue, String progressStatus, Integer voucherId, String paymentInterestType, String remark) {
        this.no = no;
        this.transferEnterpriseId = transferEnterpriseId;
        this.receiveEnterpriseId = receiveEnterpriseId;
        this.openEnterpriseId = openEnterpriseId;
        this.amount = amount;
        this.instituyId = instituyId;
        this.openTime = openTime;
        this.transferTime = transferTime;
        this.expiryTime = expiryTime;
        this.uplinkAddress = uplinkAddress;
        this.statue = statue;
        this.progressStatus = progressStatus;
        this.voucherId = voucherId;
        this.paymentInterestType = paymentInterestType;
        this.remark = remark;
    }


    @Override
    public String toString() {
        return "Transfer{" +
                "id=" + id +
                ", no='" + no + '\'' +
                ", transferEnterpriseId=" + transferEnterpriseId +
                ", receiveEnterpriseId=" + receiveEnterpriseId +
                ", openEnterpriseId=" + openEnterpriseId +
                ", amount=" + amount +
                ", instituyId=" + instituyId +
                ", openTime=" + openTime +
                ", transferTime=" + transferTime +
                ", expiryTime=" + expiryTime +
                ", uplinkAddress='" + uplinkAddress + '\'' +
                ", statue='" + statue + '\'' +
                ", progressStatus='" + progressStatus + '\'' +
                ", voucherId=" + voucherId +
                ", paymentInterestType='" + paymentInterestType + '\'' +
                ", remark='" + remark + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNo() {
        return no;
    }

    public void setNo(String no) {
        this.no = no;
    }

    public Integer getTransferEnterpriseId() {
        return transferEnterpriseId;
    }

    public void setTransferEnterpriseId(Integer transferEnterpriseId) {
        this.transferEnterpriseId = transferEnterpriseId;
    }

    public Integer getReceiveEnterpriseId() {
        return receiveEnterpriseId;
    }

    public void setReceiveEnterpriseId(Integer receiveEnterpriseId) {
        this.receiveEnterpriseId = receiveEnterpriseId;
    }

    public Integer getOpenEnterpriseId() {
        return openEnterpriseId;
    }

    public void setOpenEnterpriseId(Integer openEnterpriseId) {
        this.openEnterpriseId = openEnterpriseId;
    }

    public Double getAmount() {
        return amount;
    }

    public void setAmount(Double amount) {
        this.amount = amount;
    }

    public Integer getInstituyId() {
        return instituyId;
    }

    public void setInstituyId(Integer instituyId) {
        this.instituyId = instituyId;
    }

    public Date getOpenTime() {
        return openTime;
    }

    public void setOpenTime(Date openTime) {
        this.openTime = openTime;
    }

    public Date getTransferTime() {
        return transferTime;
    }

    public void setTransferTime(Date transferTime) {
        this.transferTime = transferTime;
    }

    public Date getExpiryTime() {
        return expiryTime;
    }

    public void setExpiryTime(Date expiryTime) {
        this.expiryTime = expiryTime;
    }

    public String getUplinkAddress() {
        return uplinkAddress;
    }

    public void setUplinkAddress(String uplinkAddress) {
        this.uplinkAddress = uplinkAddress;
    }

    public String getStatue() {
        return statue;
    }

    public void setStatue(String statue) {
            this.statue = statue;
    }

    public String getProgressStatus() {
        return progressStatus;
    }

    public void setProgressStatus(String progressStatus) {
            this.progressStatus = progressStatus;
    }

    public Integer getVoucherId() {
        return voucherId;
    }

    public void setVoucherId(Integer voucherId) {
        this.voucherId = voucherId;
    }

    public String getPaymentInterestType() {
        return paymentInterestType;
    }

    public void setPaymentInterestType(String paymentInterestType) {
            this.paymentInterestType = paymentInterestType;

    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
